package com.company;

public class Reseaved {
    public static void main(String[] args) {
        String str1 = "Ken";
        StringBuffer str1Buff = new StringBuffer(str1);
        System.out.println((str1Buff.reverse().toString()));
    }
}
